$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$fontSize_38: 1.9vw;

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  width: 100%;
  transition: all 600ms;
  .l{
    width: 8vw;
    text-align: center;
    position: absolute;
    left: 0;
    top:0;
    .logo{
      position: relative;
      z-index: 10;
      transition: all 600ms;
      margin-top: 1.5vw;
      img{
        max-width: 7vw;
      }
    }
    .icons{
      position: absolute;
      left: 0;
      top:0;
      width: 8vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 600ms;
      .bg{
        display: block;
        background-color: #D9D9D9;
        opacity: .2;
        // border-bottom-right-radius:400px;
        position: absolute;
        left: 0;
        top:0;
        width: 100%;
        height: 100%;
        animation: move 600ms linear forwards;
        transition: all 600ms;
      }
      @keyframes move {
        from{
          transform: translateX(-100%);
        }
        to{
          transform: translateX(0);
        }
      }
      a{
        margin: 1.5vw 0;
        img{
          transform: scale(1);
        }
      }
    }
  }
  .r{
    width: 94vw;
    display: flex;
    align-items: center;
    padding: 1.5vw 0 3vw 0;
    margin: 0 auto;
    position: relative;
    .logo{
      opacity: 0;
      transition: all 600ms;
      transform: translateY(-100%);
    }
    .links{
      display: flex;
      align-items: center;
      justify-content: space-between;
      a{
        display: flex;
        align-items: center;
        margin-left: 5vw;
        span{
          width: 6px;
          height: 6px;
          border-radius: 50%;
          border: 1px solid #000;
          margin: 0 5px;
          transition: all 600ms;
        }
        p{
          color:#000;
          font-size: 1.1vw;
          font-weight: bold;
          // font-family: 'HYQiHeiY1-75W';
        }
        &:hover{
          span{
            background-color: #000;
          }
        }
      }
      .active{
        span{
          background-color: #000;
        }
      }
    }
    .search{
      display: flex;
      align-items: center;
      position: absolute;
      right:0;
      // top:1.5vw;
      img{
        cursor: pointer;
      }
      .nr{
        margin-left: 10px;
        input{
          width: 14vw;
          border-radius: 30px;
          border: 1px solid #000;
          padding: 5px 0;
          text-indent: 20px;
          background-color: transparent;
        }
      }
    }
  }
}

.hasBg{
  .l{
     .icons,.logo{
      transform: translateX(-100%);
     }
  }
  .r{
    .logo{
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.header_page {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  width: 100%;
  transition: all 600ms;
  background-color: white;
  .r{
    width: 94vw;
    display: flex;
    align-items: center;
    padding: 1.5vw 0;
    margin: 0 auto;
    position: relative;
    .links{
      display: flex;
      align-items: center;
      justify-content: space-between;
      a{
        display: flex;
        align-items: center;
        margin-left: 5vw;
        span{
          width: 6px;
          height: 6px;
          border-radius: 50%;
          border: 1px solid #000;
          margin: 0 5px;
          transition: all 600ms;
        }
        p{
          color:#000;
          font-size: 1.1vw;
          font-weight: bold;
        }
        &:hover{
          span{
            background-color: #000;
          }
        }
      }
      .active{
        span{
          background-color: #000;
        }
      }
    }
    .search{
      display: flex;
      align-items: center;
      position: absolute;
      right:0;
      // top:1.5vw;
      img{
        cursor: pointer;
      }
      .nr{
        margin-left: 10px;
        input{
          width: 14vw;
          border-radius: 30px;
          border: 1px solid #000;
          padding: 5px 0;
          text-indent: 20px;
          background-color: transparent;
        }
      }
    }
  }
}

.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 50px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #fff;

    a {
      margin-left: 20px;

      img {
        width: 140px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 49px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh -49px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 40px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}


.foot{
  background:#F2F2F2 url(../images/fbg.png) no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 3vw 0;
  .content{
    width: 94vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    .c{
      width: 25%;
      .t1{
        font-size: $fontSize_38;
        // font-family: 'bahnschrift';
        text-transform: capitalize;
        font-weight: bold;
      }
      .des{
        margin-top: 1vw;
        p{
          font-size:14/19.2+vw;
          // font-family: 'bahnschrift';
          margin-bottom: 5px;
        }
      }
    }
    .sub{
      .t1{
        font-size: $fontSize_38;
        // font-family: 'bahnschrift';
        font-weight: bold;
      }
      .icons{
        margin-top: 1vw;
        a{
          margin-right: 1vw;
        }
      }
    }
  }
}

@media screen and (max-width: 1440px){
.header,.header_page{
  .r{
    .links{
      a{
        margin-left: 4.5vw;
      }
    }
  }
}
}

@media screen and (max-width: 1024px) {
  .header ,.header_page{
    display: none;
  }

  .pheader {
    display: flex;
  }

  .foot{
    background:#F2F2F2 url(../images/fbg2.png) no-repeat;
    background-size: contain;
    padding-bottom: 60px;
    .content{
      width: 85%;
      flex-direction: column;
      .logo{
        display: none;
      }
      .c{
        width: 100%;
        margin-top: 30px;
        .t1{
          font-size: 28px;
          text-transform: capitalize;
        }
        .des{
          margin-top: 20px;
          p{
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 0;
          }
        }
      }
      .sub{
        margin-top: 30px;
        .t1{
          font-size: 28px;
          text-transform: capitalize;
        }
        .icons{
          margin-top: 15px;
          a{
            margin-right: 20px;
          }
        }
      }
    }
  }
}